package com.cl.code.common.model.tree;

import java.util.List;

/**
 * @author chengliang
 * @since 1.0.0
 */
public interface TreeItem<ID, T> extends SimpleTreeItem<T> {

    ID getId();

    void setId(ID id);

    ID getParentId();

    void setParentId(ID id);

    @Override
    List<T> getChildren();

    @Override
    void setChildren(List<T> children);

}
